#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    void init();

private slots:
    void on_pushButton_openCom_clicked();

    void on_pushButton_debugCom_clicked();

    void on_pushButton_refreshCom_clicked();

    void on_pushButton_timeSet_clicked();

    void on_pushButton_timeSync_clicked();

    void on_pushButton_wifiSet_clicked();

    void on_pushButton_mqttSet_clicked();

    void on_pushButton_wifiGet_clicked();

    void on_pushButton_wifiConn_clicked();

    void on_pushButton_wifiDisConn_clicked();

    void on_pushButton_changeTimeSet_clicked();

    void on_pushButton_changeTimeRead_clicked();

    void on_lineEdit_changePeriod_textChanged(const QString &arg1);

    void on_horizontalSlider_changeTime_valueChanged(int value);

    void on_pushButton_mqttGet_clicked();

private:
    Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
